{% extends "base.html" %}

{% block title %}错误 - 人才流失预测系统{% endblock %}

{% block content %}
<div class="row">
    <div class="col-12">
        <h1 class="text-center mb-4">发生错误</h1>
    </div>
</div>

<div class="row justify-content-center">
    <div class="col-md-8">
        <div class="alert alert-danger" role="alert">
            <h4 class="alert-heading">错误信息</h4>
            <p>{{ error }}</p>
        </div>
        
        <div class="text-center">
            <a href="/" class="btn btn-primary">返回首页</a>
            <a href="/health" class="btn btn-secondary">检查系统状态</a>
        </div>
    </div>
</div>
{% endblock %}
